package egy.rev;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class egyptRevDoc extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        Button imBut = (Button) findViewById(R.id.picsButton);
        imBut.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent myint = new Intent(v.getContext(),datesActivity.class/*images.class*/);
				startActivity(myint);				
			}
		});
        
        Button exitBut = (Button) findViewById(R.id.exitButton);
        exitBut.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				finish();
			}
		});             
        
        Button aboutBut = (Button) findViewById(R.id.aboutButton);
        aboutBut.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent myint = new Intent(v.getContext(),aboutC.class);
				startActivity(myint);
			}
		});
    }
}